<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Notice extends Model
{
    
    public function notice_type()
    {
        return $this->hasOne(NoticeType::class,'id','type_id');
    }

}
